#app {
  .main-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 100% !important;
    transition: margin-left .28s;
    max-width: 100%;
    overflow-x: auto;
  }

  .main-container1-v {
    display: flex;
  }



  .omit {
    width: 260px;
    padding: 17px 20px 0;

    li {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 16px !important;
    }
  }

  .collapseMenu {
    width: 150px;
  }

  // loading 加载时 影响 导航
  .el-loading-mask {
    z-index: 200 !important;
  }

  // loading 加载时 影响 导航
  .el-loading-mask {
    z-index: 200 !important;
  }

  .el-menu-h {
    border: none;
    height: 100% !important;
    width: 100% !important;
    display: flex;
    overflow-x: auto;
  }

  .sidebar-container-v {
    transition: all 0.28s;
    width: $sideBarWidth !important;
    background: -webkit-gradient(linear, right top, right bottom, from(#004ea2), to(#58a6c314));
    height: calc(100vh - 50px);
    //min-width: 205px;
    font-size: 0;
    top: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
  }

  .sidebar-container {
    transition: all 0.5s;
    overflow: hidden;
    z-index: 1001;
    background-color: white;

    .horizontal-collapse-transition {
      transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
    }

    .scrollbar-wrapper {
      margin-right: 0!important;
      overflow-x: hidden !important;
      overflow-y: hidden!important;
    }

    .el-scrollbar__bar.is-vertical {
      right: 0;
    }

    .el-scrollbar {
      height: 100% !important;
    }

    &.has-logo {
      .el-scrollbar {
        height: calc(100% - 50px);
      }
    }

    .is-horizontal {
      display: none;
    }

    a {
      display: inline-block;
      width: 100% !important;
      overflow: hidden;
    }

    .svg-icon {
      margin-right: 16px;
    }

    .el-menu {
      border: none;
      // height: 100% !important;
      width: 100% !important;

    }

    // menu hover
    .submenu-title-noDropdown,
    .el-submenu__title {

      // 二级级菜单伪类
      &:hover {
        background-color: #D4E9FD !important;
        border: 1px solid #0076FF;
        color: #0076FF !important;
        border-radius: 5px;
      }
    }

    /*  菜单下 border */
    .el-menu--horizontal>.el-menu-item.is-active {
      border: none !important;
    }

    .is-active>.el-submenu__title {
      color: $menuActiveText !important;
      font-weight: 400 !important;
    }

    & .nest-menu .el-submenu>.el-submenu__title,
    & .el-submenu .el-menu-item {
      min-width: $sideBarWidth !important;
      padding-right: 13px !important;

      &:hover {
        background-color: #D4E9FD !important;
        border: 1px solid #0076FF;
        color: #0076FF;
        border-radius: 5px;
      }
    }
  }

  .sg-menu {
    max-height: 84vh;
    overflow: auto;
  }

  .sg-menu::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 0px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 0px;
  }

  .sg-menu::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    background: #EDEDED;
  }

  .main-container1 {
    width: 100% !important;
    height: calc(100vh - 60px);
    background-color: #f3f3f4;
    overflow: hidden !important;
    box-sizing: border-box;
  }

  .hideSidebar {
    .sidebar-container {
      width: 54px !important;
    }

    .submenu-title-noDropdown {
      padding: 0 !important;
      position: relative;

      .el-tooltip {
        padding: 0 !important;

        .svg-icon {
          margin-left: 20px;
        }
      }
    }

    .el-submenu {
      overflow: hidden;

      &>.el-submenu__title {
        padding: 0 !important;

        .svg-icon {
          margin-left: 20px;
        }

        .el-submenu__icon-arrow {
          display: none;
        }
      }
    }

    .el-menu--collapse {
      .el-submenu {
        &>.el-submenu__title {
          &>span {
            height: 0;
            width: 0;
            overflow: hidden;
            visibility: hidden;
            display: inline-block;
          }
        }
      }
    }
  }

  .el-menu--collapse .el-menu .el-submenu {
    min-width: $sideBarWidth !important;
  }

  // mobile responsive
  .mobile {
    .main-container {
      margin-left: 0;
    }

    .sidebar-container {
      transition: all .28s;
      width: $sideBarWidth !important;
    }

    &.hideSidebar {
      .sidebar-container {
        pointer-events: none;
        transition-duration: 0.28s;
        transform: translate3d(-$sideBarWidth, 0, 0);
      }
    }
  }

  .withoutAnimation {

    .main-container,
    .sidebar-container {
      // transition: none;
    }
  }
}

// when menu collapsed
.el-menu--vertical {
  &>.el-menu {
    .svg-icon {
      margin-right: 16px;
    }
  }

  .nest-menu .el-submenu>.el-submenu__title,
  .el-menu-item {

    // 三级菜单
    &:hover {
      background-color: #D4E9FD !important;
      border: 1px solid #0076FF;
      color: #0076FF !important;
      border-radius: 5px;
    }
  }

  >.el-menu--popup {
    max-height: 100vh;
    overflow-y: auto;

    &::-webkit-scrollbar-track-piece {
      background: #d3dce6;
    }

    &::-webkit-scrollbar {
      width: 6px;
    }

    &::-webkit-scrollbar-thumb {
      background: #99a9bf;
      border-radius: 20px;
    }
  }

}

#app {
  .sidebar-container {
    .el-menu {
      transition: all 0.28s;
      box-sizing: border-box;

      .menu-wrapper {
        >a {
          display: block;
        }

        .el-submenu__title {
          font-size: 16px;
        }

        .el-menu-item.is-active {
          background-color: #D4E9FD !important;
          border: 1px solid #0076FF;
          color: #0076FF;
          border-radius: 5px;
        }
      }
    }
  }
}


.sg-menu-div {
  position: absolute !important;
  top: -12px;
  right: 10px;
}

.sg-menu-div2 {
  position: absolute !important;
  top: -12px;
  right: -10px;
}

.el-menu--collapse.el-menu {
  .s-title {
    display: none;
  }

  .el-icon-arrow-right {
    display: none;
  }
}

.el-menu--vertical {
  .menu-wrapper {
    >a {
      display: block;
    }

    .el-menu-item {
      color: #6C6E73 !important;

      //三级菜单--文字部分
      &:hover {
        color: #0076FF !important;
      }
    }

    .el-menu-item.is-active {
      background-color: #D4E9FD !important;
      border: 1px solid #0076FF;
      color: #0076FF !important;
      border-radius: 5px;
    }

    .el-submenu__title {
      background-color: white !important;
    }
  }
}
